package pl.edu.agh.nn.basic;

import java.util.List;

import pl.edu.agh.nn.functions.IActivationFunction;
import pl.edu.agh.nn.neuron.AbstractNeuron;

import com.thoughtworks.xstream.annotations.XStreamAlias;

@XStreamAlias("Neuron")
public class BasicNeuron extends AbstractNeuron<BasicSynapse> {

	public BasicNeuron() {
	}

	public BasicNeuron(IActivationFunction activation, List<BasicSynapse> synapses, double bias) {
		super(activation, synapses, bias);
	}

	@Override
	protected BasicSynapse createSynapse(AbstractNeuron<?> neuron) {
		return new BasicSynapse(neuron);
	}

}
